/**
 * DietListXM.java
 * Nov 18, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "dietList" })
@XmlRootElement(name = "DietList")
public class DietListXM {
	@XmlElement(required = true, name = "Diet")
	private ArrayList<DietXM> dietList;

	public DietListXM() {
		super();
		dietList = new ArrayList<DietXM>();
	}

	public DietListXM(ArrayList<DietXM> dietList) {
		super();
		this.dietList = dietList;
	}

	/**
	 * Get value of the dietList
	 * @return the dietList
	 */
	public ArrayList<DietXM> getDietList() {
		return dietList;
	}

	/**
	 * Set value for the dietList
	 * @param dietList the dietList to set
	 */
	public void setDietList(ArrayList<DietXM> dietList) {
		this.dietList = dietList;
	}
	
	
	
} 
